<div id="top-panel">
    <div id="panel">
        <ul>
            <li><a href="<?php echo site_url("ads"); ?>" class="report_seo">List</a></li>			
        </ul>
    </div>
</div>
<div id="wrapper">
	<div id="content">
		<div id="rightnow">
			<h3 class="reallynow">New Item</h3>
			<div>
				<?php echo validation_errors(); ?>
			</div>
			<?php echo form_open('ads/save') ?>
			<input type="hidden" name="id" value="<?php echo isset($ads['id']) ? $ads['id'] : ''; ?>" />
			<table width="100%">
				<tr>
					<td>Ad text</td>
					<td><input type="text" name="ad_text" id="ad_text" class="input" value="<?php echo isset($ads['ad_text']) ? $ads['ad_text'] : '';  ?>" />
				</tr>			
				<tr>
					<td>&nbsp;</td>
					<td><input type="submit" value="Save" >
					<input type="button" value="Cancel" class="btcancel" /></td>
				<tr>
			</table>
		</div>
	</div>
</div>